package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 模型表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_model")
@ApiModel(value = "Model对象", description = "模型表")
public class Model implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模型id")
    @TableId(value = "model_id", type = IdType.AUTO)
    private Integer modelId;

    @ApiModelProperty(value = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "模型类型id")
    private Integer modelTypeId;

    @ApiModelProperty(value = "模型等级 0为个人 1为企业")
    private String modelClasses;

    @ApiModelProperty(value = "模型封面图连接")
    private String modelCoverImg;

    @ApiModelProperty(value = "模型缩略图连接")
    private String modelLittleImg;

    @ApiModelProperty(value = "模型接口地址(指后端接口地址)")
    private String modelInterface;

    @ApiModelProperty(value = "模型算法调用地址")
    private String modelAddress;

    @ApiModelProperty(value = "模型状态 1为启用 0为停止服务 2为关闭")
    private String modelStatus;

    @ApiModelProperty(value = "模型免费次数")
    private Integer modelFreeCount;

    @ApiModelProperty(value = "模型作者")
    private String modelAuthor;

    @ApiModelProperty(value = "模型创建时间")
    private LocalDateTime modelCreateTime;

    @ApiModelProperty(value = "模型单月限制调用次数 -1为不限")
    private Long modelLimit;

    @ApiModelProperty(value = "备用字段1")
    private String modelReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String modelReserve2;

}
